A Generic Speci cation for Verifying Peephole Optimizations

نویسندگان

  • A Dold
  • F W von Henke
  • H Pfeifer
چکیده

In this paper a generic speci cation for verifying local optimizations on machine code peephole optimization using the speci cation and veri ca tion system PVS is presented The scheme which provides useful de nitions basic properties and user de ned proof strategies abstracts from the speci c instruction set of a machine as well as from its semantics In addition we formally represent a stack machine as well as a two address machine The general scheme is applied to both machines and local optimizations are formalized and veri ed using the de ned proof strategies This research has been funded in part by the German Research Council DFG under project Veri x

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Formal Veri cation of Transformations forPeephole Optimization ?

In this paper we describe a formal veriication of transformations for peephole optimization using the PVS system 12]. Our basic approach is to develop a generic scheme to mechanize these kinds of veri-cations for a large class of machine architectures. This generic scheme is instantiated with a formalization of a non-trivial stack machine 14] and a PDP-11 like two-address machine 2], and we pro...

متن کامل

A Formal Framework for Specifying and Verifying Time Warp Optimizations

Parallel and distributed systems are representative of large and complex systems that require the application of formal methods. These systems are often unreliable because implementors design and develop these systems without a complete understanding of the problem domain; in addition, the nondeterministic nature of certain parallel and distributed systems make system validation di cult if not ...

متن کامل

Alive-FP: Automated Verification of Floating Point Based Peephole Optimizations in LLVM

Peephole optimizations optimize and canonicalize code to enable other optimizations but are error-prone. Our prior research on Alive, a domain-specific language for specifying LLVM’s peephole optimizations, automatically verifies the correctness of integer-based peephole optimizations and generates C++ code for use within LLVM. This paper proposes Alive-FP, an automated verification framework f...

متن کامل

Lightweight Formal Methods for Compiler Verification

Compilers should not miscompile. Our work addresses problems in developing peephole optimizations that perform local rewriting to improve the efficiency of LLVM code. These optimizations are individually difficult to get right, particularly in the presence of undefined behavior; taken together they represent a persistent source of bugs. ”Provably Correct Peephole Optimizations with Alive” prese...

متن کامل

Formal Verification of Peephole Optimizations in Asynchronous Circuits

This paper proposes and applies novel techniques for formal verification of peephole optimizations in asynchronous circuits. We verify whether locally optimized modules can replace parts of an existing circuit under assumptions regarding the operation of the optimized modules in context. A verification rule related to assume-guarantee and hierarchical verification is presented, using relative t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007